package com.maxie.command.order.impl;

import com.maxie.command.cook.impl.BaoziCooker;
import com.maxie.command.order.Order;
import com.maxie.command.waiter.WaiterReceiver;

/**
 * 包子：具体的命令
 */
public class BaoziOrder implements Order {
    private BaoziCooker baoziCooker;

    public BaoziOrder(BaoziCooker baoziCooker) {
        this.baoziCooker = baoziCooker;
    }
    @Override
    public void execute() {
        baoziCooker.action();
    }
}
